@import "common.css";
@import "base.css";
/* 设计图为750px的每份的px */
/* top-banner */
.top-banner {
  position: relative;
  width: 15rem;
  height: 2rem;
}
.top-banner a {
  display: block;
  width: 100%;
}
.top-banner a img {
  display: block;
  width: 100%;
}
.top-banner i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: url(../images/close.png) no-repeat center center;
  background-size: 0.6rem auto;
}
/* top-banner结束 */
/* header */
header.header {
  width: 100%;
  padding: 0 0.68rem;
  background-color: #ffdb47;
}
header.header .header-top {
  width: 100%;
  height: 1.76rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.header .header-top a:nth-child(1),
header.header .header-top a:nth-child(3) {
  width: 0.72rem;
  height: 1.2rem;
}
header.header .header-top a:nth-child(1) img,
header.header .header-top a:nth-child(3) img {
  display: block;
  width: 100%;
}
header.header .header-top a:nth-child(2) {
  display: block;
  width: 9rem;
  height: 1.1rem;
}
header.header .header-top a:nth-child(2) img {
  display: block;
  height: 100%;
}
header.header .header-search {
  position: relative;
  width: 100%;
  height: 1.84rem;
}
header.header .header-search a {
  position: absolute;
  width: 100%;
  height: 100%;
}
header.header .header-search a i {
  position: absolute;
  top: 50%;
  left: 0.4rem;
  width: 0.72rem;
  height: 0.72rem;
  transform: translateY(-50%);
  background: url('../images/search_btn.png') no-repeat 0 0;
  background-size: 0.72rem auto;
}
header.header .header-search form {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
header.header .header-search form input {
  width: 100%;
  height: 1.28rem;
  padding-left: 1.3rem;
  padding-right: 0.4rem;
  border: none;
  border-radius: 0.64rem;
  font-size: 0.56rem;
}
/* header结束 */
/* banner */
.banner {
  width: 15rem;
  height: 5.2rem;
  padding: 0 0.48rem;
  background: url('../images/banner_bg.png') no-repeat 0 0;
  background-size: 15rem auto;
}
.banner ul {
  position: relative;
  width: 14.04rem;
  height: 5.2rem;
  border-radius: 0.4rem;
  overflow: hidden;
}
.banner ul li {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.4rem;
  overflow: hidden;
}
.banner ul li a {
  display: block;
  width: 100%;
  height: 100%;
}
.banner ul li a img {
  display: block;
  width: 100%;
  height: 100%;
}
/* banner结束 */
/* nav导航开始 */
nav.nav {
  float: left;
  width: 15rem;
  height: 6.16rem;
  padding: 0 0.48rem;
}
nav.nav a {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 20%;
  height: 2.84rem;
}
nav.nav a i {
  width: 1.68rem;
  height: 1.68rem;
  background: url('../images/nav_01.png') no-repeat;
  background-size: 1.68rem auto;
}
nav.nav a span {
  color: #666;
  font-size: 0.32rem;
}
/* nav导航结束 */
/* 新人专区 */
.new {
  width: 15rem;
  height: 4.68rem;
  display: flex;
}
.new a:nth-child(1) {
  flex: 2;
}
.new a:nth-child(2),
.new a:nth-child(3) {
  flex: 1;
  margin-left: 0.04rem;
}
.new a {
  height: 100%;
}
.new a img {
  display: block;
  width: 100%;
  height: 100%;
}
/* 新人专区结束 */
/* 推荐专区 */
.recommend {
  width: 15rem;
  margin-top: 0.2rem;
  padding: 0 0.48rem;
}
.recommend .title-image a {
  display: block;
  width: 100%;
  overflow: hidden;
}
.recommend .title-image a img {
  width: 100%;
  display: block;
}
.recommend .content {
  display: flex;
}
.recommend .content .recommend-common {
  position: relative;
  flex: 1;
  height: 5.32rem;
  background-color: #fff;
  border-radius: 0.2rem;
  margin-right: 0.2rem;
}
.recommend .content .recommend-common img:nth-child(1) {
  box-sizing: content-box;
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0.3rem 0.76rem 0;
}
.recommend .content .recommend-common .bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.recommend .content .recommend-common p.tips {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 3.16rem;
  width: 100%;
  margin: 0;
  height: 0.68rem;
}
.recommend .content .recommend-common p.tips span {
  font-size: 0.4rem;
  min-width: 2rem;
  max-width: 4rem;
  color: #d9a87a;
  background-color: #fff;
  border: 0.02rem solid #d9a87a;
  border-radius: 0.68rem;
  text-align: center;
}
.recommend .content .recommend-common p.which {
  position: relative;
  width: 100%;
  height: 0.64rem;
  font-size: 0.52rem;
  line-height: 0.64rem;
  margin: 0.62rem auto 0.06rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.recommend .content .recommend-common .description {
  position: relative;
  width: 4rem;
  height: 0.48rem;
  line-height: 0.48rem;
  font-size: 0.44rem;
  margin: 0 auto;
  color: #FFFFFF;
  opacity: 0.8;
  text-align: center;
  overflow: hidden;
}
.recommend .content .recommend-common:nth-child(3) {
  margin-right: none;
}
/* 推荐专区结束 */
